@rem java -cp lib\codegen-thrift-1.0.6-standalone.jar;faceapi-base\target\classes;..\common-java\common-base\target\classes ^
@rem     net.gdface.codegen.thrift.ThriftServiceDecoratorGenerator ^
@rem 		-ic net.gdface.sdk.FaceApi ^
@rem 		-rc net.gdface.sdk.BaseFaceApiLocal ^
@rem 		-p net.gdface.sdk.thrift ^
@rem 		-o faceapi-client\src\client\java ^
@rem 		--thrift-package net.gdface.sdk.thrift.client ^
@rem 		-gt CLIENT

@rem 生成基于facebook/swift的client端接口实现代码
@set sh_folder=%~dp0
@pushd %sh_folder%..\faceapi-client
@set OUT_FOLDER=src\client\java
@if exist "%OUT_FOLDER%" rmdir  %OUT_FOLDER% /s/q
call mvn com.gitee.l0km:codegen-thrift-maven-plugin:generate@faceapi
call mvn com.gitee.l0km:codegen-thrift-maven-plugin:generate@fse

@popd